package com.baizhi.entity;
//分诊记录表  患者挂号即是增加一个分诊记录
public class Triage {
    private Integer tid;
    private Integer status;//状态  0 等待诊断     1诊断中  2诊断结束
    private String illness_info;//症状描述
    private String advice;//诊断建议
    private Department department;
    private Patient patient;
    private Manager manager;

    public Triage() {
    }

    public Triage(Integer tid, Integer status, String illness_info, String advice, Department department, Patient patient, Manager manager) {
        this.tid = tid;
        this.status = status;
        this.illness_info = illness_info;
        this.advice = advice;
        this.department = department;
        this.patient = patient;
        this.manager = manager;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getIllness_info() {
        return illness_info;
    }

    public void setIllness_info(String illness_info) {
        this.illness_info = illness_info;
    }

    public String getAdvice() {
        return advice;
    }

    public void setAdvice(String advice) {
        this.advice = advice;
    }

    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    public Patient getPatient() {
        return patient;
    }

    public void setPatient(Patient patient) {
        this.patient = patient;
    }

    public Manager getManager() {
        return manager;
    }

    public void setManager(Manager manager) {
        this.manager = manager;
    }

    @Override
    public String toString() {
        return "Triage{" +
                "tid=" + tid +
                ", status=" + status +
                ", illness_info='" + illness_info + '\'' +
                ", advice='" + advice + '\'' +
                ", department=" + department +
                ", patient=" + patient +
                ", manager=" + manager +
                '}';
    }
}
